package cn.edu.nuc.crm.entity;

public class Cart {
    private Integer cartid;

    private Integer productid;

    private Integer accountid;

    private String productname;

    private Integer cartnum;

    private Float productprice;

    public Integer getCartid() {
        return cartid;
    }

    public void setCartid(Integer cartid) {
        this.cartid = cartid;
    }

    public Integer getProductid() {
        return productid;
    }

    public void setProductid(Integer productid) {
        this.productid = productid;
    }

    public Integer getAccountid() {
        return accountid;
    }

    public void setAccountid(Integer accountid) {
        this.accountid = accountid;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname == null ? null : productname.trim();
    }

    public Integer getCartnum() {
        return cartnum;
    }

    public void setCartnum(Integer cartnum) {
        this.cartnum = cartnum;
    }

    public Float getProductprice() {
        return productprice;
    }

    public void setProductprice(Float productprice) {
        this.productprice = productprice;
    }
}